package com.shy.db.service.impl;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.shy.api.model.PaymentApiData;
import com.shy.api.model.dto.NoticeResultDto;
import com.shy.api.model.query.KqNoticeQuery;
import com.shy.api.model.query.MerchTradeQuery;
import com.shy.api.model.query.NoticeQuery;
import com.shy.db.service.ThirdPartApiService;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

//使用支付方式wayCode名称作为对象名称（Bean id）
@Service("WEIXIN")
public class WeiXinThirdPartApiServiceImpl implements ThirdPartApiService {
    @Override
    public PaymentApiData invokePaymentApi(MerchTradeQuery tradeQuery) {

        //生成快钱需要的接口参数

        return null;
    }

    @Transactional(rollbackFor = Exception.class)
    @Override
    public NoticeResultDto handleNotice(NoticeQuery noticeQuery) {

        return null;
    }
}